UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

tc Server VCO must set the useHttpOnly parameter.


Overview

Finding ID Version Rule ID IA Controls Severity
V-240870 VRAU-TC-000890 SV-240870r674354_rule Medium
Description
A cookie can be read by client-side scripts easily if cookie properties are not set properly. By allowing cookies to be read by the client-side scripts, information such as session identifiers could be compromised and used by an attacker who intercepts the cookie. Setting cookie properties (i.e. HttpOnly property) to disallow client-side scripts from reading cookies better protects the information inside the cookie. As a Tomcat derivative, tc Server contains a Context object, which represents a web application running within a particular virtual host. One of the configurable parameters of the Context object will prevent the tc Server cookies from being accessed by JavaScript from another site.
STIG Date
VMware vRealize Automation 7.x tc Server Security Technical Implementation Guide 2021-06-23

Details

Check Text ( C-44103r674352_chk )
At the command prompt, execute the following command:

grep useHttpOnly /etc/vco/app-server/context.xml

If the value of "useHttpOnly" is not set to "true" or is missing, this is a finding.
Fix Text (F-44062r674353_fix)
Navigate to and open /etc/vco/app-server/context.xml.

Navigate to the node.

Add the 'useHttpOnly="true"' setting to the node.

Note: The node should be configured per the following: